from django.db import models


class Usertable(models.Model):
    id = models.AutoField(db_column='ID', primary_key=True)  # Field name made lowercase.
    username = models.CharField(db_column='USERNAME', max_length=50, blank=True, null=True)  # Field name made lowercase.
    userkey = models.CharField(db_column='USERKEY', max_length=255, blank=True, null=True)  # Field name made lowercase.
    wechat_mum = models.CharField(db_column='WECHAT_MUM', max_length=20, blank=True, null=True)  # Field name made lowercase.
    tel_num = models.CharField(db_column='TEL_NUM', max_length=11, blank=True, null=True)  # Field name made lowercase.
    power = models.IntegerField(db_column='POWER', blank=True, null=True)  # Field name made lowercase.

    class Meta:
        managed = False
        db_table = 'usertable'